from utils import create_chrome_driver,add_cookies,test
import json
import time
# test()

browser=create_chrome_driver()
browser.get('https://www.baidu.com/')
time.sleep(1)
with open('taobao_cookie.json','w') as file:
    json.dump(browser.get_cookies(), file)

time.sleep(600)